package peration;

import book.BookList;

public class PrintBook implements IOperation{
    @Override
    public void dowork(BookList bookList) {
        int size = bookList.getUsedSize();
        for (int i= 0; i< size; i++){
            System.out.println(bookList.getBook(i));
        }
    }
}
